package com.example.jsf.Repository;

import com.example.jsf.entity.Goods;
import com.example.jsf.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.Date;

public interface GoodsRepository extends JpaRepository<Goods, Integer>, JpaSpecificationExecutor {
//    @Query("Select * from goods WHERE create_time BETWEEN '2020-12-24 00:00:00' and '2020-12-24 23:59:59'")
//    Goods findByCreateTime(Date createTime);
}
